import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import './plugins/antd'
import './assets/css/global.css'
import './assets/fonts/iconfont.css'
import './assets/fonts/font.css'

import { request, request2,request3} from './network/index'

Vue.prototype.$http = request
Vue.prototype.$http2 = request2
Vue.prototype.$http3 = request3
// axios.defaults.baseURL = 'api'
// const instance = axios.create({
//   baseURL: 'api'
// })
// axios.interceptors.request.use(config => {
//   config.headers.Authorization = window.sessionStorage.getItem('token')
//   return config
// })


Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
